#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>

int main()
{
	double last, now;
	scanf("%lf%lf", &last, &now);
	printf("%.2lf\n", now - last);
	last = now;
	while (scanf("%lf", &now)!=EOF)
	{
		if (fabs(now-999)<1e-6) break;
		printf("%.2lf\n", now - last);
		last = now;
	}
	printf("End of Output\n");

	return 0;
}